<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Liste Des Indicateurs</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
-->
</style>
<link href="<%=request.getContextPath()%>/css/css_style.css"
	rel="stylesheet" type="text/css">
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/css/displaytag.css" type="text/css">
</head>

<body>
	<div class="container">
		<div class="header"></div>
		<div class="upmenu">
			<div style="text-align: left; float: left; margin-left: 10px;">
				Bienvenue :
				<s:property value="#session.nom" />
				<s:property value="#session.prenom" />
			</div>
			<div style="text-align: right; float: right; margin-right: 10px;">
				<a href="<%=request.getContextPath()%>/users/logout.action">Se
					deconnecter</a>
			</div>
		</div>
		<div class="leftmenu">
			<ul>
				<li><a
					href="<%=request.getContextPath()%>/indicateurs/ListeIndicateurs.action?identifiantTheme=<%=request.getParameter("identifiantTheme")%>">Liste
						des indicateurs</a></li>
			</ul>
		</div>
		<div class="content">
			<div class="content-header">Liste Des Indicateurs</div>
			<div class="content-core">
				<s:if test="hasActionMessages()">
					<s:actionmessage />
				</s:if>
				<display:table id="indicateurs" name="listeIndicateurs" pagesize="5"
					export="true" requestURI="/indicateurCalcules/derniereListe.action"
					decorator="services.displayTag.DecorateurSupprimerModifier">

					<display:column property="libelle" title="Libelle" sortable="true"
						value="identifiant" />
					<display:column property="annee" title="annee" sortable="true"
						value="identifiant" />
					<display:column property="valeur" title="valeur" sortable="true"
						value="identifiant" />
					<display:column property="boutonModifierIndicateur" title=""
						media="html" />
					<display:column property="boutonSupprimerIndicateur" title=""
						media="html" />

				</display:table>
				<form
					action="<%=request.getContextPath()%>/vues/indicateur/AjouterIndicateurCalcule.jsp">
					<input type="submit" value="Ajouter un nouveau Indicateur" />
					<s:textfield cssStyle="display:none;" name="identifiantTheme"
						value="%{#parameters['identifiantTheme']}"></s:textfield>
				</form>
				<%-- 				<form action="<%=request.getContextPath()%>/indicateurs/rechercherIndicateurRedirect.action"> --%>
				<!-- 					<input type="submit" value="Rechercher un indicateur"/> -->
				<%-- 					<s:textfield cssStyle="display:none;" name="identifiantTheme" value="%{#parameters['identifiant']}"></s:textfield> --%>
				<!-- 				</form> -->

				<form
					action="<%=request.getContextPath()%>/themes/ListeThemes.action">
					<input type="submit" value="Liste des themes" />


				</form>
			</div>
		</div>
	</div>
</body>
</html>